﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Task.aspx.cs" Inherits="WMS6.Web.TaskMgmt.Task" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Task</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newReceiving()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "Task.aspx?from="+escape(from);
            return false;
        }
  
    
       //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {              
                document.getElementById("txtOwnerID").value = rtnValue;              
            }
        }
        
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }

        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div id="div_top">
                    <table>
                        <tr>
                            <td valign="bottom">
                                <asp:Label ID="lblTask" runat="server" CssClass="label_header" Text="任务详细" 
                                    meta:resourcekey="lblTask"></asp:Label>
                            </td>
                             <td>
                                <asp:Button ID="btnGoBack" runat="server" OnClick="btnGoBack_Click" 
                                     CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>"
                                    AccessKey="b" />
                            </td>
                            <td>
                                <asp:Button ID="btnNew" runat="server" OnClick="btnNew_Click" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"
                                    AccessKey="n" />
                            </td>
                            <td>
                                <asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" OnClick="btnSave_Click"
                                    AccessKey="s" />
                            </td>
                            <td>
                                <asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>" 
                                    OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;" OnClick="btnDelete_Click"
                                    AccessKey="d" />
                            </td>
                            <td>
                                <asp:Button ID="btnRefresh" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnRefresh%>" 
                                    AccessKey="e" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                        meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,4)"
                        id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" 
                            meta:resourcekey="one1">基本</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL2">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,4)"
                        id="divM2">
                        <asp:Label ID="one2" CssClass="navigationlabel" runat="server" 
                            meta:resourcekey="one2">库存</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR2">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL3">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,4)"
                        id="divM3">
                        <asp:Label ID="one3" CssClass="navigationlabel" runat="server" 
                            meta:resourcekey="one3">订单</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR3">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL4">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',4,4)"
                        id="divM4">
                        <asp:Label ID="one4" CssClass="navigationlabel" runat="server" 
                            meta:resourcekey="one4">其他</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR4">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblTaskDetailID" runat="server" CssClass="label" Text="任务编号" 
                                        meta:resourcekey="lblTaskDetailID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblTaskType" runat="server" CssClass="label" Text="任务类型" 
                                        meta:resourcekey="lblTaskType"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblStartTime" runat="server" CssClass="label" Text="开始时间" 
                                        meta:resourcekey="lblStartTime"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtTaskDetailID" runat="server" CssClass="textbox" 
                                        Enabled="False" meta:resourcekey="txtTaskDetailID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlTaskType" runat="server" CssClass="mediumselectbox" 
                                        meta:resourcekey="ddlTaskType">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtStartTime" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtStartTime"></asp:TextBox><img
                                        src="../Images/calendar.gif" class="img" alt="请选择日期" id="img5" runat="server"
                                        onclick="setday(this,txtStartTime)" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" 
                                        meta:resourcekey="lblStatus"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblUserID" runat="server" CssClass="label" Text="用户ID" 
                                        meta:resourcekey="lblUserID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblEndTime" runat="server" CssClass="label" Text="结束时间" 
                                        meta:resourcekey="lblEndTime"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" 
                                        meta:resourcekey="ddlStatus">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtEndTime" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtEndTime"></asp:TextBox><img
                                        src="../Images/calendar.gif" class="img" alt="请选择日期" id="img6" runat="server"
                                        onclick="setday(this,txtEndTime)" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblPriority" runat="server" CssClass="label" Text="优先级" 
                                        meta:resourcekey="lblPriority"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblUserIDOverride" runat="server" CssClass="label" Text="用户编号置换" 
                                        meta:resourcekey="lblUserIDOverride"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblCreatedDate" runat="server" CssClass="label" Text="发放时间" 
                                        meta:resourcekey="lblCreatedDate"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:DropDownList ID="ddlPriority" runat="server" CssClass="mediumselectbox" 
                                        meta:resourcekey="ddlPriority">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtUserIDOverride" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUserIDOverride"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCreatedDate" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtCreatedDate"></asp:TextBox><img
                                        src="../Images/calendar.gif" class="img" alt="请选择日期" id="img7" runat="server"
                                        onclick="setday(this,txtReleaseDate)" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblReasonID" runat="server" CssClass="label" Text="原因代码" 
                                        meta:resourcekey="lblReasonID"></asp:Label>
                                </td>
                                <td width="180" colspan="2">
                                    <asp:Label ID="lblStatusMsg" runat="server" CssClass="label" Text="状态信息" 
                                        meta:resourcekey="lblStatusMsg"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtReasonID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtReasonID"></asp:TextBox>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="txtStatusMsg" runat="server" CssClass="largetextbox" 
                                        meta:resourcekey="txtStatusMsg"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_2" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" 
                                        meta:resourcekey="lblOwnerID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblFromLoc" runat="server" CssClass="label" Text="自货位" 
                                        meta:resourcekey="lblFromLoc"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblToLoc" runat="server" CssClass="label" Text="至货位" 
                                        meta:resourcekey="lblToLoc"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOwnerID"></asp:TextBox><img
                                        src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner();"
                                        id="img" runat="server" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtFromLoc" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtFromLoc"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtToLoc" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtToLoc"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblSkuID" runat="server" CssClass="label" Text="货品代码" 
                                        meta:resourcekey="lblSkuID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblFromLpn" runat="server" CssClass="label" Text="自Lpn" 
                                        meta:resourcekey="lblFromLpn"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblToLpn" runat="server" CssClass="label" Text="至Lpn" 
                                        meta:resourcekey="lblToLpn"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtSkuID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSkuID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtFromLpn" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtFromLpn"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtToLpn" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtToLpn"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblUomID" runat="server" CssClass="label" Text="计量单位" 
                                        meta:resourcekey="lblUomID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblLogicalFromLoc" runat="server" CssClass="label" Text="自路线顺序" 
                                        meta:resourcekey="lblLogicalFromLoc"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblLogicalToLoc" runat="server" CssClass="label" Text="至路线顺序" 
                                        meta:resourcekey="lblLogicalToLoc"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtUomID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtUomID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLogicalFromLoc" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLogicalFromLoc"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLogicalToLoc" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLogicalToLoc"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblQty" runat="server" CssClass="label" Text="数量" 
                                        meta:resourcekey="lblQty"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblLot" runat="server" CssClass="label" Text="批次号" 
                                        meta:resourcekey="lblLot"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblFinalToLoc" runat="server" CssClass="label" Text="最终至货位" 
                                        meta:resourcekey="lblFinalToLoc"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtQty" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtQty"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLot" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtLot"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtFinalToLoc" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtFinalToLoc"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblUomQty" runat="server" CssClass="label" Text="计量单位数量" 
                                        meta:resourcekey="lblUomQty"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtUomQty" Enabled="False" runat="server" CssClass="textbox" 
                                        Text="0" meta:resourcekey="txtUomQty"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_3" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblOrderID" runat="server" CssClass="label" Text="订单号" 
                                        meta:resourcekey="lblOrderID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblCaseID" runat="server" CssClass="label" Text="箱号" 
                                        meta:resourcekey="lblCaseID"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCaseID" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtCaseID"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblOrderLineID" runat="server" CssClass="label" Text="行号" 
                                        meta:resourcekey="lblOrderLineID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblSeqNo" runat="server" CssClass="label" Text="顺序号" 
                                        meta:resourcekey="lblSeqNo"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtOrderLineID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtOrderLineID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtSeqNo" runat="server" CssClass="textbox" Text="99999" 
                                        meta:resourcekey="txtSeqNo"></asp:TextBox>
                                </td>
                                <td >
                                </td>
                                <td >
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblPickDetailID" runat="server" CssClass="label" Text="拣货明细编号" 
                                        meta:resourcekey="lblPickDetailID"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtPickDetailID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtPickDetailID"></asp:TextBox>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblPickMethod" runat="server" CssClass="label" Text="拣货方法" 
                                        meta:resourcekey="lblPickMethod"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtPickMethod" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtPickMethod"></asp:TextBox>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_4" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblDocID" runat="server" CssClass="label" Text="来源编号" 
                                        meta:resourcekey="lblDocID"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblWaveID" runat="server" CssClass="label" Text="波次编号" 
                                        meta:resourcekey="lblWaveID"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtDocID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtDocID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtWaveID" runat="server" CssClass="textbox" Enabled="False" 
                                        meta:resourcekey="txtWaveID"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblSourcePriority" runat="server" CssClass="label" Text="来源优先级" 
                                        meta:resourcekey="lblSourcePriority"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblHoldID" runat="server" CssClass="label" Text="冻结编号" 
                                        meta:resourcekey="lblHoldID"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtSourcePriority" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSourcePriority"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtHoldID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtHoldID"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblSourceType" runat="server" CssClass="label" Text="来源类型" 
                                        meta:resourcekey="lblSourceType"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblListID" runat="server" CssClass="label" Text="列表编号" 
                                        meta:resourcekey="lblListID"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtSourceType" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtSourceType"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtListID" runat="server" CssClass="textbox" 
                                        meta:resourcekey="txtListID"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblUserPosition" runat="server" CssClass="label" Text="用户位置" 
                                        meta:resourcekey="lblUserPosition"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:DropDownList ID="ddlUserPosition" runat="server" 
                                        CssClass="mediumselectbox" meta:resourcekey="ddlUserPosition">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <input type="hidden" id="hdnTaskDetailID" runat="server" />
                    <input id="hdnLineID" runat="server" type="hidden" />
                        <input id="hdnFrom" runat="server" type="hidden" />
                            <input id="hdnFlag" runat="server" type="hidden" />
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnRefresh" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnNew" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
         <input type="hidden" id="hdnDataFormat"  runat="server"/>  
<input type="hidden" id="hdncalendarFlag"  runat="server"/>  
    </div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>